//
//  SaoYiSaoViewController.h
//  SaoYiSao
//
//  Created by ClaudeLi on 16/4/21.
//  Copyright © 2016年 ClaudeLi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LinBoardMacro.h"

@protocol ScanValueDelegate <NSObject>

-(void)thisIsTheScanValue:(NSString *)scanValue;

@end
#import <AVFoundation/AVFoundation.h>

@interface SaoYiSaoViewController : UIViewController<AVCaptureMetadataOutputObjectsDelegate>
{
    int num;
    BOOL upOrdown;
    NSTimer * timer;
}

@property (strong,nonatomic)AVCaptureDevice * device;
@property (strong,nonatomic)AVCaptureDeviceInput * input;
@property (strong,nonatomic)AVCaptureMetadataOutput * output;
@property (strong,nonatomic)AVCaptureSession * session;
@property (strong,nonatomic)AVCaptureVideoPreviewLayer * preview;
@property (nonatomic, retain) UIImageView * line;
@property(nonatomic,assign)BOOL isBikeNumber;
@property(nonatomic,assign)id<ScanValueDelegate>scanValueDelegate;

@end
